package com.liuguang.testassert.filter;

import org.springframework.stereotype.Component;
import org.springframework.web.filter.OncePerRequestFilter;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @ClassName: TestFilter3
 * @Description：
 * @Author: wanghr
 * Date: 1:42 PM 2020/6/9
 * Version: 1.0
 */
@Component
public class TestFilter3 extends OncePerRequestFilter {
    @Override
    protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
        logger.info("进入TestFilter3 。。。。");
        filterChain.doFilter(request,response);
    }
}
